<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
 <head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="Keywords" content="Online health support" />
  	<title>OHS</title>
    <link href="<%= request.getContextPath() %>/css/admin_style.css" rel="stylesheet" type="text/css" />
 </head>
  <body style="background-color: #f9f9f9;">
  <s:form action="addVidSubmit" method="POST">
  <div>
  	<h1>Add video</h1>
  </div>
<div>
   <div class="errorMsg"><s:actionerror /></div>
   <table>
   <tr>
   	<td>externalId</td>
	<td><s:textfield name="externalId" label="id"/></td>
   </tr>
   <tr>
   	<td>name</td>
   	<td><s:textfield name="name" label="name"/></td>
   </tr>
   <tr>
   	<td>desc</td>
   	<td><s:textfield name="description" label="desc"/></td>
   </tr>
   <tr>
   	<td>thumb</td>
   	<td><s:textfield name="thumbnail" label="thumb"/></td>
   </tr>
   <tr>
   	<td>length</td>
   	<td><s:textfield name="length" label="length"/></td>
   </tr>
   <tr>
   	<td>tag</td>
   	<td><s:select list="tags" name="selectedTag" id="selectedTag" listKey="id" listValue="name"></s:select></td>
   </tr>
   <tr>
   	<td colspan="2" style="text-align: right;">
<s:submit value="add" align="center"/>
	</td>
   </tr>
</table>

</div>
</div>
</s:form>
</body>
</html>